import { SAVE_PHONE } from './constants'
const initState = {
    phone: ''
}
export default function reducer(state = initState, arction) {
    switch (arction.type) {
        case SAVE_PHONE:
            return {
                ...state,
                phone: arction.phone
            }
        default:
            return state
    }
}